package cn.beforedark.yygh.hosp.service;

import cn.beforedark.yygh.dto.hosp.HospitalQueryDto;
import cn.beforedark.yygh.model.hosp.Hospital;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService {
    void save(Map<String, Object> map);

    Hospital getByHoscode(String hoscode);

    Page<Hospital> getHosptialPage(Integer pageNum, Integer pageSize, HospitalQueryDto dto);

    void updateStatus(String id, Integer status);

    Hospital getDetailById(String id);

    List<Hospital> findByName(String hosname);

    Hospital getHospitalDetail(String hoscode);
}
